100
|
How can I remove a bookmark
axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(2,false);
axEdit1.BookmarkWidth = 16;
|
99
|
How can I remove all bookmarks
axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 16;
axEdit1.ClearBookmarks();
|
98
|
How can I add a bookmark

axEdit1.set_Bookmark(2,true);
axEdit1.set_Bookmark(4,true);
axEdit1.BookmarkWidth = 16;
|
97
|
How can I change the format to display the numbers

axEdit1.FormatNumbers = "<b><fgcolor=FF0000> </fgcolor></b>";
axEdit1.InsertText("Just numbers: 12 22\\r\\n",1);
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret

axEdit1.BackColorCaretLine = Color.FromArgb(255,0,0);
|
95
|
Can I display the lines using an alternate color

axEdit1.BackColorAlternate = Color.FromArgb(255,0,0);
|
94
|
How can I disable or enable displaying the Replace dialog
axEdit1.AllowReplace = false;
|
93
|
Does your control support incrementasl search

axEdit1.AllowIncrementalSearch = true;
|
92
|
How can I programmatically find or search for a word only
axEdit1.HideSelection = false;
axEdit1.Find("IDD_DIALOG_INSTALL",EXEDITLib.FindOptionEnum.exMatchWholeWordOnly);
|
91
|
How can I programmatically find or search for a string

axEdit1.HideSelection = false;
axEdit1.Find("public",EXEDITLib.FindOptionEnum.exSearchDown);
|
90
|
How can I disable or enabled the Find dialog
axEdit1.AllowFind = false;
|
89
|
How can I enable my button as the control can perform an REDO operation

bool var_CanRedo = axEdit1.CanRedo;
|
88
|
How can I enable my button as the control can perform an UNDO operation
bool var_CanUndo = axEdit1.CanUndo;
|
87
|
How can I disable or enable the undo-redo feature

axEdit1.AllowUndoRedo = false;
|
86
|
How can I change the color for the border where the line numbers are displayed

axEdit1.LineNumberForeColor = Color.FromArgb(255,0,0);
axEdit1.LineNumberBackColor = Color.FromArgb(0,0,255);
axEdit1.LineNumberWidth = 32;
|
85
|
How can I change the color of the bookmark border

axEdit1.BookMarkBackColor = Color.FromArgb(255,0,0);
axEdit1.BookMarkBackColor2 = Color.FromArgb(255,0,0);
axEdit1.BookmarkWidth = 16;
|
84
|
How can I refresh the control

axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
83
|
How can I change the size of the tabs characters

axEdit1.TabLength = 8;
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
axEdit1.OpenBrackets = "<";
axEdit1.CloseBrackets = ">";
|
81
|
How can I hide the selection
axEdit1.DisplaySelection = false;
|
80
|
How can I display both scroll bars

axEdit1.ScrollBars = EXEDITLib.ScrollBarsEnum.exBoth;
|
79
|
How can I display only the vertical scroll bar

axEdit1.ScrollBars = EXEDITLib.ScrollBarsEnum.exVertical;
|
78
|
How can I display only the horizontal scroll bar

axEdit1.ScrollBars = EXEDITLib.ScrollBarsEnum.exHorizontal;
|
77
|
How can I hide the control's scroll bars

axEdit1.ScrollBars = EXEDITLib.ScrollBarsEnum.exNoScroll;
|
76
|
How can I insert at specified position a new line

axEdit1.InsertText("newline\\r\\n",2);
axEdit1.set_BackColorLine(2,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
|
75
|
How can I remove or delete all lines
|
74
|
How can I remove or delete a line

axEdit1.DeleteLine(1);
|
73
|
How do I change the character where the caret or the cursor is displayed
|
72
|
How do I change the line where the caret or the cursor is displayed
|
71
|
How do I replace a line

axEdit1.set_TextLine(1,"new line");
|
70
|
How do I get a line
axEdit1.set_TextLine(1,"new line");
|
69
|
How do I get the number of lines in the control
int var_Count = axEdit1.Count;
|
68
|
How do I get the point where the selection starts

axEdit1.SelStart = 4;
axEdit1.SelLength = 10;
axEdit1.HideSelection = false;
|
67
|
How do I get the number of selected characters

axEdit1.SelLength = 10;
axEdit1.HideSelection = false;
|
66
|
How can I get the selected text
axEdit1.SelLength = 10;
string var_SelText = axEdit1.SelText;
|
65
|
How can I replace the selected text

axEdit1.SelLength = 10;
axEdit1.SelText = "-new selection-";
|
64
|
How can I avoid changing the colors for keywords or expressions

axEdit1.ApplyColors = false;
axEdit1.AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
63
|
How can I display HTML text

axEdit1.EditType = EXEDITLib.EditTypeEnum.exHTML;
axEdit1.Text = "<b>just a HTML text</b>\\r\\nnew <s>line</s>";
|
62
|
How can I use it a a simple edit control, without highlighting

axEdit1.EditType = EXEDITLib.EditTypeEnum.exStandard;
|
57
|
How can I display only a single line
axEdit1.MultiLine = false;
|
56
|
How can I disable displaying multiple lines
axEdit1.MultiLine = false;
|
55
|
How can change the color for selected text

axEdit1.HideSelection = false;
axEdit1.SelLength = 10;
axEdit1.SelBackColor = Color.FromArgb(255,0,0);
|
54
|
How can change the color for selected text

axEdit1.HideSelection = false;
axEdit1.SelLength = 10;
axEdit1.SelForeColor = Color.FromArgb(255,0,0);
|
53
|
How can I disable displaying the control's context menu
axEdit1.AllowContextMenu = false;
|
52
|
Is there any option to hide the caret or the cursor
axEdit1.ShowCaret = false;
|
51
|
How can still display the selected text when the control loses the focus

axEdit1.HideSelection = false;
axEdit1.SelLength = 10;
|
50
|
How can I disable adding new TAB characters when the user enters a new line
axEdit1.AutoIndent = false;
|
49
|
How can I disable using the Tab key
axEdit1.UseTabKey = false;
|
48
|
How can I hide the number of each line
axEdit1.LineNumberWidth = 0;
|
47
|
How can I display or show the number of each line

axEdit1.LineNumberWidth = 32;
|
46
|
How can I clear the text
|
45
|
How can I specify the text being displayed in the control

axEdit1.Text = "new line\\r\\nnew line";
|
44
|
How can I hide the bookmark border
axEdit1.BookmarkWidth = 0;
|
43
|
How can I show the bookmark border

axEdit1.BookmarkWidth = 16;
|
42
|
How do I lock the control

axEdit1.Locked = true;
|
41
|
How do I disable or enable the control
|
40
|
How can I change the visual appearance of the splitter

axEdit1.AllowSplitter = EXEDITLib.SplitterEnum.exBothSplitter;
axEdit1.SplitPaneWidth = 128;
axEdit1.SplitPaneHeight = 128;
axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSplitterApp,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSplitterApp,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exISplitterApp,0x2000000);
|
39
|
How can I change the visual appearance of the vertical splitter

axEdit1.AllowSplitter = EXEDITLib.SplitterEnum.exBothSplitter;
axEdit1.SplitPaneWidth = 128;
axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSplitterApp,0x1000000);
|
38
|
How can I change the visual appearance of the horizontal splitter

axEdit1.AllowSplitter = EXEDITLib.SplitterEnum.exBothSplitter;
axEdit1.SplitPaneHeight = 128;
axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSplitterApp,0x1000000);
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axEdit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumb,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSThumb,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSThumbP,0x2000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSThumbH,0x3000000);
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axEdit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumb,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axEdit1.set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,96);
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axEdit1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exSBtn,0x1000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exSBtnP,0x2000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exSBtnH,0x3000000);
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exHSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exVSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exSizeGrip,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
|
34
|
Can I change the forecolor for the tooltip

axEdit1.ToolTipDelay = 1;
axEdit1.ToolTipWidth = 364;
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exToolTipForeColor,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
33
|
Can I change the background color for the tooltip

axEdit1.ToolTipDelay = 1;
axEdit1.ToolTipWidth = 364;
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exToolTipBackColor,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
32
|
Can I change the default border of the tooltip, using your EBN files

axEdit1.ToolTipDelay = 1;
axEdit1.ToolTipWidth = 364;
axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.set_Background(EXEDITLib.BackgroundPartEnum.exToolTipAppearance,0x1000000);
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
31
|
How do I call your x-script language

axEdit1.ExecuteTemplate("BackColor = RGB(255,0,0)");
|
30
|
How do I call your x-script language

axEdit1.Template = "BackColor = RGB(255,0,0)";
|
29
|
Can I change the font for the tooltip

axEdit1.ToolTipDelay = 1;
stdole.IFontDisp var_StdFont = axEdit1.ToolTipFont;
var_StdFont.Name = "Tahoma";
var_StdFont.Size = 14;
axEdit1.ToolTipWidth = 364;
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger

axEdit1.ToolTipWidth = 328;
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
27
|
How do I let the tooltip being displayed longer

axEdit1.ToolTipPopDelay = 10000;
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
26
|
How do I disable showing the tooltip for all control
axEdit1.ToolTipDelay = 0;
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
25
|
How do I show the tooltip quicker

axEdit1.ToolTipDelay = 1;
axEdit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",null);
axEdit1.Refresh();
|
24
|
Can I change the order of the buttons in the scroll bar

axEdit1.set_ScrollOrderParts(EXEDITLib.ScrollBarEnum.exHScroll,"t,l,r");
axEdit1.set_ScrollOrderParts(EXEDITLib.ScrollBarEnum.exVScroll,"t,l,r");
|
23
|
The thumb size seems to be very small. Can I make it bigger

axEdit1.set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,164);
|
22
|
How do I enlarge or change the size of the control's scrollbars

axEdit1.ScrollHeight = 18;
axEdit1.ScrollWidth = 18;
axEdit1.ScrollButtonWidth = 18;
axEdit1.ScrollButtonHeight = 18;
|
21
|
How can I display my text on the scroll bar, using a different font

axEdit1.set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,"This is just a text");
axEdit1.get_ScrollFont(EXEDITLib.ScrollBarEnum.exHScroll).Size = 12;
axEdit1.set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,128);
axEdit1.ScrollHeight = 24;
axEdit1.set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text");
axEdit1.ScrollHeight = 20;
|
20
|
How can I display my text on the scroll bar

axEdit1.set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,"this is just a text");
axEdit1.set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,96);
|
19
|
How do I assign a tooltip to a scrollbar

axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.set_ScrollToolTip(EXEDITLib.ScrollBarEnum.exHScroll,"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
|
18
|
How do I assign an icon to the button in the scrollbar

axEdit1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
axEdit1.set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
axEdit1.ScrollHeight = 18;
axEdit1.ScrollButtonWidth = 18;
|
17
|
I need to add a button in the scroll bar. Is this possible

axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
axEdit1.set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,"1");
|
16
|
Can I display an additional buttons in the scroll bar

axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,true);
axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB2Part,true);
axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exRightB6Part,true);
axEdit1.set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exRightB5Part,true);
|
15
|
How do I change the control's foreground color

axEdit1.ForeColor = Color.FromArgb(255,0,0);
|
14
|
How do I change the control's background color

axEdit1.BackColor = Color.FromArgb(200,200,200);
|
13
|
How can I change the control's font

axEdit1.Font.Name = "Verdana";
|
12
|
How do I put a picture on the center of the control

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exMiddleCenter;
|
11
|
How do I resize/stretch a picture on the control's background

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exStretch;
|
10
|
How do I put a picture on the control's center right bottom side

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exLowerRight;
|
9
|
How do I put a picture on the control's center left bottom side

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exLowerLeft;
|
8
|
How do I put a picture on the control's center top side

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exUpperCenter;
|
7
|
How do I put a picture on the control's right top corner

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exUpperRight;
|
6
|
How do I put a picture on the control's left top corner

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axEdit1.PictureDisplay = EXEDITLib.PictureDisplayEnum.exUpperLeft;
|
5
|
How do I put a picture on the control's background

(axEdit1.GetOcx() as EXEDITLib.Edit).Picture = (axEdit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
|
4
|
How do I change the control's border, using your EBN files

axEdit1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axEdit1.Appearance = (EXEDITLib.AppearanceEnum)0x1000000;
|
3
|
How do I remove the control's border

axEdit1.Appearance = EXEDITLib.AppearanceEnum.exNone;
|
2
|
How can I add a line

axEdit1.InsertText(" - insert the line as the last - \\r\\n",null);
|
1
|
How can I insert a line

axEdit1.InsertText(" - insert the line as the first - \\r\\n",1);
|